import theFs from 'then-fs'

// AD同步任务会先执行
// BC异步任务 等主线程有空再执行
console.log('A')
theFs.readFile('./files/1.txt', 'utf8').then(res => {
    console.log('B')
    console.log(res);
})
setTimeout(() => {
    console.log('C')
}, 1000)
console.log('D')
